{
	Damnsingle_http = {
		__con : function () {

			this.__con = undefined ; 
		},
		
	    http : function (type , options = {}) {
	    	let res = '';
			this._ajax({
				url : options.url ,
    			data: options.data , 
    			type : type ,
	        	success:function(str){
	        		res = str;
	        	},
	        	error:function(errorinfo){
	        		throw new Error("error : " + errorinfo);
	        	}
			});
			return res;
		}
	} 

	window.Damnsingle_http = Damnsingle_http;
}